<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="icon" href="../imgs/logo.png" type="image/x-icon">
    <title>发布</title>
    <!-- <link rel="stylesheet" href="https://cdn.bootcdn.net/ajax/libs/wangEditor/10.0.13/fonts/w-e-icon.woff"> -->

    <link rel="stylesheet" href="./css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="./css/main.css" rel="stylesheet">
    <link rel="stylesheet" href="./css/wangEditor.min.css" rel="stylesheet">
    <link rel="stylesheet" href="./css/wangEditor.css" rel="stylesheet">
    <link rel="stylesheet" href="./css/layui.css" rel="stylesheet">
    <link rel="stylesheet" href="../static/css/main.css" />
    <link rel="stylesheet" href="css/releaseEditor.css">

</head>

<body>
    <!-- <header class="wxx_header">
        <div class="hed_com win_max">
            <div class="fix_view">
                <div class="head_left">
                    <a class="logo" href="../index.html"><img src="../static/img/logo.png" alt="精匠" /></a> 
                </div>
                <div class="head_right">
                    <a class="r_a">联系我们</a>
                    <a class="r_a loginBtn" href="../home/login/index.html">注册/登录</a>
                    <div class="hide"><a href="personal/personalInner.html" class="avatar_u"></a></div>
                </div>
            </div>
        </div>
    </header> -->
    <header class="wxx_header" id="header"></header>
    <div class="container-fluid" style="background-color: #f5f5f5">
        <!--    顶部导航栏-->
        <!-- header -->

        <!-- header end -->

        <div class="row" style="min-height: 10px"></div>

        <div class="row">


            <div class="col-md-1" style="padding-right: 0px; ">

                <div class="row">

                    <div class="col-md-1"></div>

                    <div class="col-md-11">
                        <!-- <div class="card">

                            <ul class="nav nav-pills nav-fill flex-column">
                                <li class="nav-item">
                                    <a class="nav-link active list-group-item" href="#">发布</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link liColor list-group-item" href="#">文章管理</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link liColor list-group-item" href="#">分类管理</a>
                                </li> 
                                <li class="nav-item">
                                    <a class="nav-link liColor list-group-item" href="#">退出</a>
                                </li>
                                
                            </ul>
                        </div> -->


                    </div>
                </div>


            </div>

            <div class="col-md-10" style="padding-left: 0px;margin-top: 20px;">
                <div class="card">
                    <div class="card-header" style="background-color: white">
                        <div class="row">
                            <div class="col-md-3" style="font-size: 18px">发布会议</div>
                            <!--<div class="col-md-9" style="margin-top: 8px;font-size: 12px;text-align: right">当前位置>专委会介绍>文件资料</div>-->
                        </div>
                    </div>

                    <div class="card-body" style="min-height: 1000px">
                        <div class="row">

                            <div class="col-md-12">
                                <div class="input-group mb-1 mt-2 ml-0 mr-1">
                                    <div class="input-group-prepend">
                                        <span class="input-group-text" id="inputGroup-sizing-default">类型</span>
                                    </div>

                                    <select id="typesMeeting" lay-filter="selectJump" class="form-control">
                                        <option value="">请选择类型</option>
                                        <option value="1">会议动态</option>
                                        <option value="2">展会动态</option>
                                        <option value="3">新闻动态</option>
                                        <option value="4">企业动态</option>
                                        <option value="5">文章管理</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-md-12">
                                <div class="input-group mb-1 mt-2 ml-0 mr-1">
                                    <div class="input-group-prepend">
                                        <span class="input-group-text">标题</span>
                                    </div>
                                    <input id="titleInput" type="text" class="form-control" maxlength="100"
                                        placeholder="不多于100字" style="margin-right: 5px">
                                </div>

                            </div>

                        </div>
                        <div class="row isHide">
                            <div class="col-md-12">
                                <div class="input-group mb-1 mt-2 ml-0 mr-1">
                                    <div class="input-group-prepend">
                                        <span class="input-group-text">主办方</span>
                                    </div>
                                    <input id="sponsor" type="text" class="form-control" maxlength="100"
                                        placeholder="请输入" style="margin-right: 5px">
                                </div>

                            </div>

                        </div>
                        <div class="row isHide">
                            <div class="col-md-12">
                                <div class="input-group mb-1 mt-2 ml-0 mr-1">
                                    <div class="input-group-prepend">
                                        <span class="input-group-text">承办单位</span>
                                    </div>
                                    <input id="unitId" type="text" class="form-control" maxlength="100"
                                        placeholder="请输入" style="margin-right: 5px">
                                </div>

                            </div>

                        </div>
 
                        <!-- <div class="row isHide">

                            <div class="col-md-12">
                                <div class="input-group mb-1 mt-2 ml-0 mr-1">
                                    <div class="input-group-prepend">
                                        <span class="input-group-text" id="inputGroup-sizing-default">分类</span>
                                    </div>

                                    <select id="TypeID" lay-filter="selectJump" class="form-control">
                                        <option value="">请选择</option>
                                        <option value="报告式">报告式</option>
                                    </select>
                                </div>
                            </div>
                        </div> -->

                         
                        <div class="row">

                            <div class="col-md-5">
                                <div class="input-group mb-1 mt-2 ml-0 mr-1">
                                    <div class="input-group-prepend">
                                        <span class="input-group-text" id="inputGroup-sizing-default">封面图</span>
                                    </div>
                                    <button type="button" class="layui-btn" id="test-upload-img">上传图片</button>

                                </div>
                                <div class="img_shows"></div>
                            </div>
                        </div>
                        <div class="row isHide">

                            <div class="col-md-12">
                                <div class="input-group mb-1 mt-2 ml-0 mr-1">
                                    <div class="input-group-prepend">
                                        <span class="input-group-text" id="inputGroup-sizing-default">会议举办时间</span>
                                    </div>
                                    <input type="text" name="" class="form-control" placeholder="请选择时间"
                                        autocomplete="off" id="conference_time">

                                </div>
                            </div>
                        </div>
                        <div class="row isHideAddress" >
                            <div class="col-md-12">
                                <div class="input-group mb-1 mt-2 ml-0 mr-1">
                                    <div class="input-group-prepend">
                                        <span class="input-group-text">企业地址</span>
                                    </div>
                                    <input id="isHideAddress" type="text" class="form-control"  
                                        placeholder="请输入企业地址" style="margin-right: 5px">
                                </div>

                            </div>

                        </div> 
                        
                        <div class="row div0" >
                            <div class="col-md-12">
                                <div class="input-group mb-1 mt-2 ml-0 mr-1">
                                    <div class="input-group-prepend">
                                        <span class="input-group-text">作者</span>
                                    </div>
                                    <input id="authorId" type="text" class="form-control"  
                                        placeholder="请输入作者" style="margin-right: 5px">
                                </div>

                            </div>

                        </div>
                        <div class="row div0" >
                            <div class="col-md-12">
                                <div class="input-group mb-1 mt-2 ml-0 mr-1">
                                    <div class="input-group-prepend">
                                        <span class="input-group-text">文章来源</span>
                                    </div>
                                    <input id="sourceId" type="text" class="form-control"  
                                        placeholder="请输入文章来源" style="margin-right: 5px">
                                </div>

                            </div>

                        </div>
                         
                        <div class="div0" style="padding: 8px 0; color: #ccc"></div>
                        <div id="div1" class="toolbar div0">
                        </div>
                        
                        <div id="div2" class="text div0"> <!--可使用 min-height 实现编辑区域自动增加高度-->
                            <!--                        <p>请输入内容</p>-->
                        </div>



                        <div class="row" style="padding: 15px">


                            <div class="col-md-8 rows"></div>

                            <div class="col-md-4 rows">
                                <button type="button" class="btn btn-light">返回</button>
                                <button type="button" class="btn btn-primary" onclick="createContent"
                                    id="publishBtn">发布</button>

                            </div>



                        </div>

                    </div>

                </div>
            </div>

            <div class="col-md-2">


            </div>
        </div>

    </div>


    <script src="./js/layui.all.js"></script>
    <script src="./js/wangEditor.min.js"></script>
    <script src="./js/wangEditor.min.js.map"></script>
    <script src="./js/wangEditor.js"></script>
    <script src="./js/bootstrap.min.js"></script>
    <script src="./js/popper.min.js"></script>
    <script src="../library/jquery-3.7.1.min.js"></script>
    <script src="../library/swiper.jquery.min.js"></script>
    <script src="../static/layui/layui.js"></script>
    <script src="../library/wxx_main.js"></script>
    <script src="../common/common.js"></script>
    <script src="../js/survey/survey.js"></script>
    <script src="js/releaseEditor.js"></script>

    <!-- <script src="https://cdn.jsdelivr.net/npm/layui-src/dist/layui.all.js"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/wangEditor/10.0.13/wangEditor.min.js"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/wangEditor/10.0.13/wangEditor.min.js.map"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/wangEditor/10.0.13/wangEditor.js"></script>
    <script src="https://cdn.staticfile.org/popper.js/1.15.0/umd/popper.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
    <script src="js/releaseEditor.js"></script> -->

    <!-- <script>
        layui.use('upload', function(){
    var upload = layui.upload;
    let jingjiang_userinfo = JSON.parse(localStorage.getItem("jingjiang_userinfo"))
      
    //图片上传接口
    upload.render({
      elem: '#test-upload-img',
      headers: {
        token: jingjiang_userinfo.token
      },
      url: 'http://globalmbl.com/api/common/upload' //改成你的图片上传接口
      ,accept: 'images' //指定允许上传的文件类型，可选值有：images（图片）、file（所有文件）、video（视频）、audio（音频）
      ,done: function(res){
        //上传完毕回调
        console.log(res);
        var html = '<div class="img-box"><img class="layui-upload-img" data-id="'+res.data.fullurl+'" src="'+res.data.fullurl+'"><span data-id="'+res.data.fullurl+'" class="del">X</span></div>';
            $('.img_shows').append(html);
      }
      ,error: function(){
        //请求出错回调
        console.log('上传失败');
      }
    });
  });
  $('.btn-light').click(()=>{
    window.history.back();
  })
    </script> -->
</body>

</html>